{include file="header.html"}
<div id="rightTop">
  <p>{$lang.hot_brand}</p>
  <ul class="subnav">
    <!--{if $smarty.get.wait_verify}-->
    <li><a class="btn1" href="index.php?app=hot_brand">{$lang.manage}</a></li>
    <!--{else}-->
    <li><span>{$lang.manage}</span></li>
    <!--{/if}-->
    <li><a class="btn1" href="index.php?app=hot_brand&amp;act=add">{$lang.add}</a></li>
  </ul>
</div>
<div class="tdare">
  <table width="100%" cellspacing="0" class="dataTable">
    <!--{if $res}-->
    <tr class="tatr1">
      <td width="20" class="firstCell"><input type="checkbox" class="checkall" /></td>
      <td class="table-center">{$lang.brand_name}</span></td>
      <!--{if !$smarty.get.wait_verify}-->
      <td class="table-center"><span ectype="order_by" fieldname="sort_order">{$lang.sort_order}</span></td>
      <!--{/if}-->
      <td class="handler">{$lang.handler}</td>
    </tr>
    <!--{/if}-->
    <!--{foreach from=$res item=r}-->
    <tr class="tatr2">
      <td class="firstCell"><input type="checkbox" class="checkitem" value="{$r.id}" /></td>
      <td class="table-center">{$r.brand_name}</td>

      <td class="table-center"><span ectype="inline_edit" fieldname="sort_order" fieldid="{$r.id}" required="1" class="editable" title="{$lang.editable}">{$r.sort_order|escape}</span></td>
      <td class="handler">
        <a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=hot_brand&amp;act=drop&amp;id={$r.id}');">{$lang.drop}</a>
      </td>
    </tr>
    <!--{foreachelse}-->
    <tr class="no_data">
      <td colspan="12">{$lang.no_data}</td>
    </tr>
    <!--{/foreach}-->
  </table>
  <!--{if $res}-->
  <div id="dataFuncs">
    <div class="pageLinks">
      {include file=page.bottom.html}
    </div>
    <div id="batchAction" class="left paddingT15">
      <input class="formbtn batchButton" type="button" value="{$lang.drop}" name="id" uri="index.php?app=hot_brand&act=drop" presubmit="confirm('{$lang.drop_confirm}');" />
    </div>
  </div>
  <div class="clear"></div>
  <!--{/if}-->

</div>
{include file="footer.html"}